package com.shelpe.services.scheduler.item.keyword;

import org.springframework.batch.item.ItemProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.shelpe.services.scheduler.po.Adgroups;
import com.shelpe.services.scheduler.syncclient.KeywordClient;

@Component("rptKeywordProcessor")
public class RptKeywordProcessorImpl implements ItemProcessor<Adgroups, Adgroups>{

	@Autowired
	private KeywordClient keyClient;
	
	@Override
	public Adgroups process(Adgroups item) throws Exception {
		// TODO Auto-generated method stub
		
		long userId = item.getUserId();
		long campaignId = item.getCampaignId();
		long adgroupId = item.getAdgroupId();
		//keyClient.syncRptKeywordsByUserId(userId, campaignId, adgroupId);
		
		return null;
	}

}
